/* 
 * File:   ContingencyMatrix.h
 * Author: Guilherme Monteiro
 *
 */

#ifndef CONTINGENCYMATRIX_H
#define	CONTINGENCYMATRIX_H

#include "GenericMetricsVector.h"
#include "../../TableTranscriber2/headers/Cell.h"
#include "../../TableTranscriber2/headers/Reader.h"

#include <algorithm>

using namespace std;

class MetricsVectorTT : public GenericMetricsVector {
public:
    MetricsVectorTT(string uAnsPath, string sOutputAns);
    MetricsVectorTT(const MetricsVectorTT& orig);
    virtual ~MetricsVectorTT();
    
private:  
    vector<Cell> softwareAnswers;
    vector<Cell> userAnswers;
    
    void calculateMetricsVector() throw(CompatibilityAnswersException);
    void setUserAnswers(string uAnsPath);
    void setSoftwareAnswers(string sAnsPath, string uAnsPath);
};

#endif	/* CONTINGENCYMATRIX_H */

